package com.scpii.universal.pns.entity;

import java.util.Date;

/**
 * PnsUserMessageDevices entity. @author MyEclipse Persistence Tools
 */

public class PnsUserMessageDevices implements java.io.Serializable {

	// Fields

	private Long id;
	private Long appId;
	private String title;
	private String icon;
	private String summary;
	private String body;
	private Date startTime;
	private Date expireTime;
	private Date createTime;
	private Integer messageStatus;
	private Long messageId;
	private Long userId;
	private Long deviceId;
	private String iosToken;
	private Long userMessageId;

	// Constructors

	/** default constructor */
	public PnsUserMessageDevices() {
	}

	/** minimal constructor */
	public PnsUserMessageDevices(Long appId, Long messageId, Long userId,
			Long deviceId, Long userMessageId) {
		this.appId = appId;
		this.messageId = messageId;
		this.userId = userId;
		this.deviceId = deviceId;
		this.userMessageId = userMessageId;
	}

	/** full constructor */
	public PnsUserMessageDevices(Long appId, String title, String icon,
			String summary, String body, Date startTime, Date expireTime,
			Date createTime, Integer messageStatus, Long messageId,
			Long userId, Long deviceId, String iosToken, Long userMessageId) {
		this.appId = appId;
		this.title = title;
		this.icon = icon;
		this.summary = summary;
		this.body = body;
		this.startTime = startTime;
		this.expireTime = expireTime;
		this.createTime = createTime;
		this.messageStatus = messageStatus;
		this.messageId = messageId;
		this.userId = userId;
		this.deviceId = deviceId;
		this.iosToken = iosToken;
		this.userMessageId = userMessageId;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAppId() {
		return this.appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Long getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Long messageId) {
		this.messageId = messageId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getDeviceId() {
		return this.deviceId;
	}

	public void setDeviceId(Long deviceId) {
		this.deviceId = deviceId;
	}

	public String getIosToken() {
		return this.iosToken;
	}

	public void setIosToken(String iosToken) {
		this.iosToken = iosToken;
	}

	public Long getUserMessageId() {
		return this.userMessageId;
	}

	public void setUserMessageId(Long userMessageId) {
		this.userMessageId = userMessageId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Date expireTime) {
		this.expireTime = expireTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getMessageStatus() {
		return messageStatus;
	}

	public void setMessageStatus(Integer messageStatus) {
		this.messageStatus = messageStatus;
	}

}